Scroll to navigation

lsm_fs_ss_list(3) Libstoragemgmt C API Manual lsm_fs_ss_list(3)

NAME

lsm_fs_ss_list - Gets a list of snapshots of specified file system

SYNOPSIS

int lsm_fs_ss_list (lsm_connect *conn, lsm_fs *fs, lsm_fs_ss **ss[], uint32_t *ss_count, lsm_flag flags);

ARGUMENTS

Valid connection.
Pointer of lsm_fs to check for snapshots.
Output pointer of lsm_fs_ss array. It should be manually freed by lsm_fs_ss_record_array_free.
Number of elements in the array.
Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.

VERSION

1.0

DESCRIPTION

Gets a list of file systems snapshots on this connection. File system snapshot properties could be retrieved by these functions:
* lsm_fs_ss_id_get
* lsm_fs_ss_name_get
* lsm_fs_ss_time_stamp_get

CAPABILITY

LSM_CAP_FS_SNAPSHOTS

RETURN

Error code as enumerated by 'lsm_error_number'.
* LSM_ERR_OK
On success or searched value not found.
* LSM_ERR_INVALID_ARGUMENT
When any argument is NULL or invalid flags or invalid search
key.
* LSM_ERR_NO_SUPPORT
Not supported.

lsm_fs_ss_list April 2021